import request from '@/utils/request'

export const getActicles = (params) => request({
  url: '/admin/interview/query',
  params
})

export const delAtricle = (id) => request({
  url: '/admin/interview/remove',
  method: 'DELETE',
  data: {
    id: id
  }
})

export const addAtricle = (data) => request({
  url: '/admin/interview/create',
  method: 'POST',
  data
})

export const updateAtricle = (data) => request({
  url: '/admin/interview/update',
  method: 'PUT',
  data
})
